<div class="forum-path"> 
<?php echo $this->Html->link('Forum index', array('controller' => 'forums', 'action' => 'index', $this->params['pass'][0])); ?> » 

</div>
<h3>Add new category</h3>
<br/>
<div class="row-fluid " >
    <div class="span12">
        <div class="span1"></div>
        <div class="span8">
            
            <?php echo $this->Form->create('ForumCategory', array('url'=> array('controller'=>'forums','action'=>'newcategory', $this->params['pass'][0]),'class'=>'form-horizontal well')); ?>


            <div class="control-group">
                <?php /*echo $this->Form->hidden('ForumTopic.forum_categories',array('value'=>$this->params['pass'][0])); */?>  
                <label class="control-label" >Nombre</label>
                <?php echo $this->Form->input('ForumCategory.name',array('label'=>false,'div'=>'controls')); ?>
            <!--      <p class="text-error">
                            <?php echo $this->Form->error('ForumCategory.name', 'Subject is required!'); ?>
                </p>-->
                </div>
            <div class="control-group">
                <label class="control-label">Descripción</label>
                <?php echo $this->Form->input('ForumCategory.description', array('rows' => 10,'label'=>false,'div'=>'controls')); ?>
            <!--      <p class="text-error">
                            <?php echo $this->Form->error('ForumCategory.name', 'Message is required'); ?>
                </p>-->
                </div>
            <div class="control-group" align="center">

                <button type="submit" class="btn btn-primary">Save</button>
            </div>
            <!--    <div class="button">
                <input name="register" type="submit" value="Submit" />
                </div>-->
                </form>
            <?php //echo $form->end('ForumTopic'); ?>
        </div>
        <div class="span3"></div>
    </div>    
</div>





